package subway;

public class Edge {
    Station from;
    Station to;
    double distance;
    String line;

    public Edge(Station from, Station to, double distance, String line) {
        this.from = from;
        this.to = to;
        this.distance = distance;
        this.line = line;
    }
    public Station getTo() {
        return to;
    }

    public double getDistance() {
        return distance;
    }

    public String getLine() {
        return line;
    }
}    
